-- GENERATED SPELL FOR [Great Courser] --


function spell0_4019(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_4019', 3000, 1)
end

function Sorts_4019(pUnit, Event)
local choix_sorts_4019 = math.random(0, 0)
if choix_sorts_4019 == 0 then
pUnit:RegisterEvent('spell0_4019', 1, 1)
end
end

function mob4019_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4019', math.random(1500, 3000), 1)
end

function mob4019_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4019_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4019_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4019, 1, 'mob4019_Action')
RegisterUnitEvent(4019, 2, 'mob4019_Leave')
RegisterUnitEvent(4019, 3, 'mob4019_Kill')
RegisterUnitEvent(4019, 4, 'mob4019_Die')
